package com.ruoyi.tjbb.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆查询对象 sys_tjbb_clbb
 * 
 * @author ruoyi
 * @date 2023-09-26
 */
public class SysTjbbClbb extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carId;

    /** 车辆颜色 */
    @Excel(name = "车辆颜色")
    private String carColor;

    /** 终端卡号 */
    @Excel(name = "终端卡号")
    private String endCord;

    /** 车组 */
    @Excel(name = "车组")
    private String carGroup;

    /** 上线状态 */
    @Excel(name = "上线状态")
    private String onlineStatus;

    /** 上线时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上线时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date onlineTime;

    /** 在线速度 */
    @Excel(name = "在线速度")
    private String onlineSpeed;

    /** 最后位置 */
    @Excel(name = "最后位置")
    private String endSite;

    /** 离线时长 */
    @Excel(name = "离线时长")
    private String noOnlineDuration;

    /** 运营状态 */
    @Excel(name = "运营状态")
    private String runStatus;

    /** 车辆类型 */
    @Excel(name = "车辆类型")
    private String carType;

    /** 操作 */
    @Excel(name = "操作")
    private String operate;

    /** ID */
    private Long id;

    public void setCarId(String carId) 
    {
        this.carId = carId;
    }

    public String getCarId() 
    {
        return carId;
    }
    public void setCarColor(String carColor) 
    {
        this.carColor = carColor;
    }

    public String getCarColor() 
    {
        return carColor;
    }
    public void setEndCord(String endCord) 
    {
        this.endCord = endCord;
    }

    public String getEndCord() 
    {
        return endCord;
    }
    public void setCarGroup(String carGroup) 
    {
        this.carGroup = carGroup;
    }

    public String getCarGroup() 
    {
        return carGroup;
    }
    public void setOnlineStatus(String onlineStatus) 
    {
        this.onlineStatus = onlineStatus;
    }

    public String getOnlineStatus() 
    {
        return onlineStatus;
    }
    public void setOnlineTime(Date onlineTime) 
    {
        this.onlineTime = onlineTime;
    }

    public Date getOnlineTime() 
    {
        return onlineTime;
    }
    public void setOnlineSpeed(String onlineSpeed) 
    {
        this.onlineSpeed = onlineSpeed;
    }

    public String getOnlineSpeed() 
    {
        return onlineSpeed;
    }
    public void setEndSite(String endSite) 
    {
        this.endSite = endSite;
    }

    public String getEndSite() 
    {
        return endSite;
    }
    public void setNoOnlineDuration(String noOnlineDuration) 
    {
        this.noOnlineDuration = noOnlineDuration;
    }

    public String getNoOnlineDuration() 
    {
        return noOnlineDuration;
    }
    public void setRunStatus(String runStatus) 
    {
        this.runStatus = runStatus;
    }

    public String getRunStatus() 
    {
        return runStatus;
    }
    public void setCarType(String carType) 
    {
        this.carType = carType;
    }

    public String getCarType() 
    {
        return carType;
    }
    public void setOperate(String operate) 
    {
        this.operate = operate;
    }

    public String getOperate() 
    {
        return operate;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("carId", getCarId())
            .append("carColor", getCarColor())
            .append("endCord", getEndCord())
            .append("carGroup", getCarGroup())
            .append("onlineStatus", getOnlineStatus())
            .append("onlineTime", getOnlineTime())
            .append("onlineSpeed", getOnlineSpeed())
            .append("endSite", getEndSite())
            .append("noOnlineDuration", getNoOnlineDuration())
            .append("runStatus", getRunStatus())
            .append("carType", getCarType())
            .append("operate", getOperate())
            .append("id", getId())
            .toString();
    }
}
